package com.hudson.store.dispatch;

public class DispatchDto {
    private String topic;
    private int queueId;
    private long commitOffset;
    private int messageSize;
    private String tag;
    private long opaque;
    private long storeTimeStamp;

    public DispatchDto(String topic, int queueId, long commitOffset, int messageSize, String tag, long opaque, long storeTimeStamp) {
        this.topic = topic;
        this.queueId = queueId;
        this.commitOffset = commitOffset;
        this.messageSize = messageSize;
        this.tag = tag;
        this.opaque = opaque;
        this.storeTimeStamp = storeTimeStamp;
    }

    public String getTopic() {
        return topic;
    }

    public int getQueueId() {
        return queueId;
    }

    public long getCommitOffset() {
        return commitOffset;
    }

    public int getMessageSize() {
        return messageSize;
    }

    public String getTag() {
        return tag;
    }

    public long getOpaque() {
        return opaque;
    }

    public long getStoreTimeStamp() {
        return storeTimeStamp;
    }
}
